import axios from '@/utils/axios'
import moment from "moment";

export function getPerformance(params) {
  return axios({
    url: '/Person/performance',
    method: 'post',
    data: params
  })
}

export function state(params) {
  return axios({
    url: '/Person/state',
    method: 'post',
    data: params
  })
}

export function getMyOkr(params) {
  return axios({
    url: '/Person/getMyOkr',
    method: 'post',
    data: params
  })
}

export function finishOkr(params) {
  return axios({
    url: '/Person/finishOkr',
    method: 'post',
    data: params
  })
}

export function getMyWage(params) {
  return axios({
    url: '/Person/myWage',
    method: 'post',
    data: params
  })
}



export function getPartTimeTask(params) {
  return axios({
    url: '/Person/getPartTimeTask',
    method: 'post',
    data: params
  })
}

export function finishPartTimeTask(params) {
  return axios({
    url: '/Person/finishPartTimeTask',
    method: 'post',
    data: params
  })
}


export function getFourth(params) {
    return axios({
        url: '/Person/fourth',
        method: 'post',
        data: params
    })
}

export function getThird(params) {
    return axios({
        url: '/Person/third',
        method: 'post',
        data: params
    })
}

export function getSecond(params) {
    return axios({
        url: '/Person/second',
        method: 'post',
        data: params
    })
}

export function getFourthDetail(params) {
  return axios({
    url: '/Person/fourthDetail',
    method: 'post',
    data: params
  })
}
export function getThirdDetail(params) {
  return axios({
    url: '/Person/thirdDetail',
    method: 'post',
    data: params
  })
}
export function getSecondDetail(params) {
  return axios({
    url: '/Person/secondDetail',
    method: 'post',
    data: params
  })
}